package com.xinqi.modules.course.clazz.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 班级分组人员表实体层
 *
 * @author: system
 * @date: 2023/01/17
 */
@Setter
@Getter
@TableName("cl_class_group_student")
public class ClassGroupStudentEntity extends UpdateTimeEntity {
    /**
     * 课程id
     */
    @TableField(value = "course_id")
    private Long courseId;
    /**
     * 班级id
     */
    @TableField(value = "class_id")
    private Long classId;
    /**
     * 分组id
     */
    @TableField(value = "group_id")
    private Long groupId;
    /**
     * 成员id
     */
    @TableField(value = "student_id")
    private Long studentId;
    /**
     * 设置组长
     */
    @TableField(value = "is_group_leader")
    private Integer isGroupLeader;
    /**
     * 重命名组名
     */
    @TableField(value = "renames")
    private String renames;
}
